.class public Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;
.implements Lcom/waiqin365/lightapp/kehu/view/at;
.implements Lcom/waiqin365/lightapp/kehu/view/au;


# instance fields
.field private A:Ljava/lang/String;

.field private B:Ljava/lang/String;

.field private C:I

.field private D:I

.field private E:Ljava/util/HashMap;

.field private F:Ljava/util/HashMap;

.field private G:Ljava/util/HashMap;

.field private H:Landroid/widget/ImageView;

.field private I:Lcom/waiqin365/lightapp/view/hr;

.field private J:Ljava/lang/String;

.field private K:Lcom/waiqin365/lightapp/kehu/c/l;

.field private L:Lcom/waiqin365/lightapp/kehu/cp;

.field private M:Lcom/waiqin365/compons/c/g;

.field private N:Lcom/waiqin365/compons/view/c;

.field public a:Ljava/util/ArrayList;

.field public b:Ljava/util/HashMap;

.field public c:Lcom/waiqin365/lightapp/kehu/b/cc;

.field d:Z

.field public e:Landroid/os/Handler;

.field private f:Lcom/waiqin365/lightapp/kehu/view/CustomerSelectHeadView;

.field private g:Landroid/view/View;

.field private h:Landroid/widget/TextView;

.field private i:Landroid/widget/LinearLayout;

.field private j:Landroid/widget/LinearLayout;

.field private k:Landroid/widget/LinearLayout;

.field private l:Landroid/widget/LinearLayout;

.field private m:Landroid/widget/RelativeLayout;

.field private n:Landroid/widget/LinearLayout;

.field private o:Landroid/widget/TextView;

.field private p:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

.field private q:Lcom/waiqin365/lightapp/kehu/b/ai;

.field private r:Landroid/widget/TextView;

.field private s:Landroid/widget/LinearLayout;

.field private t:Landroid/widget/LinearLayout;

.field private u:Landroid/widget/TextView;

.field private v:Lcom/waiqin365/lightapp/view/NoNetView;

.field private w:Landroid/widget/LinearLayout;

.field private x:Landroid/widget/TextView;

.field private y:Z

.field private z:Ljava/lang/String;


# direct methods
.method public constructor <init>()V
    .locals 2

    const/4 v1, 0x1

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->a:Ljava/util/ArrayList;

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->y:Z

    iput v1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->C:I

    const/16 v0, 0xa

    iput v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->D:I

    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->b:Ljava/util/HashMap;

    const-string/jumbo v0, "2"

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->J:Ljava/lang/String;

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->d:Z

    new-instance v0, Lcom/waiqin365/lightapp/kehu/ci;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/kehu/ci;-><init>(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->e:Landroid/os/Handler;

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;I)I
    .locals 0

    iput p1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->C:I

    return p1
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)Lcom/waiqin365/lightapp/view/NoNetView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->v:Lcom/waiqin365/lightapp/view/NoNetView;

    return-object v0
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;Ljava/lang/String;)Ljava/lang/String;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->B:Ljava/lang/String;

    return-object p1
.end method

.method private a(Ljava/lang/String;)V
    .locals 3

    const/16 v2, 0x8

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->c:Lcom/waiqin365/lightapp/kehu/b/cc;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/cc;->e:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    const-string/jumbo v0, "2"

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->c:Lcom/waiqin365/lightapp/kehu/b/cc;

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/b/cc;->d:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->s:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->setVisibility(I)V

    :goto_0
    return-void

    :cond_1
    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->s:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->setVisibility(I)V

    goto :goto_0

    :cond_2
    const/4 v0, 0x0

    const-string/jumbo v1, "1"

    invoke-virtual {v1, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_4

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/a;->c:Ljava/util/HashMap;

    const-string/jumbo v1, "8477006589065580123"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/login/c/g;

    :cond_3
    :goto_1
    if-eqz v0, :cond_6

    iget-object v0, v0, Lcom/waiqin365/base/login/c/g;->g:Ljava/lang/String;

    const-string/jumbo v1, "ADD"

    invoke-virtual {v0, v1}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_6

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->s:Landroid/widget/LinearLayout;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    goto :goto_0

    :cond_4
    const-string/jumbo v1, "3"

    invoke-virtual {p1, v1}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_5

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/a;->c:Ljava/util/HashMap;

    const-string/jumbo v1, "7772420501566430058"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/login/c/g;

    goto :goto_1

    :cond_5
    const-string/jumbo v1, "2"

    invoke-virtual {p1, v1}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_3

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/a;->c:Ljava/util/HashMap;

    const-string/jumbo v1, "5843724260954865680"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/login/c/g;

    goto :goto_1

    :cond_6
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->s:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->setVisibility(I)V

    goto :goto_0
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->p:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    return-object v0
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)I
    .locals 1

    iget v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->C:I

    return v0
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)Lcom/waiqin365/lightapp/kehu/b/ai;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->q:Lcom/waiqin365/lightapp/kehu/b/ai;

    return-object v0
.end method

.method static synthetic e(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->J:Ljava/lang/String;

    return-object v0
.end method

.method private e()V
    .locals 1

    new-instance v0, Lcom/waiqin365/lightapp/kehu/cj;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/kehu/cj;-><init>(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->K:Lcom/waiqin365/lightapp/kehu/c/l;

    return-void
.end method

.method static synthetic f(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)I
    .locals 1

    iget v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->D:I

    return v0
.end method

.method private f()Z
    .locals 2

    const-string/jumbo v0, "1"

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->z:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    sget-boolean v0, Lcom/fiberhome/gaea/client/c/b;->v:Z

    if-nez v0, :cond_0

    const-string/jumbo v0, "2"

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->J:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method static synthetic g(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)Lcom/waiqin365/compons/view/c;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->N:Lcom/waiqin365/compons/view/c;

    return-object v0
.end method

.method private g()V
    .locals 2

    const-string/jumbo v0, ""

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->showProgressDialog(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->L:Lcom/waiqin365/lightapp/kehu/cp;

    if-nez v0, :cond_0

    new-instance v0, Lcom/waiqin365/lightapp/kehu/cp;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/kehu/cp;-><init>(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->L:Lcom/waiqin365/lightapp/kehu/cp;

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->M:Lcom/waiqin365/compons/c/g;

    if-nez v0, :cond_1

    new-instance v0, Lcom/waiqin365/compons/c/g;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->L:Lcom/waiqin365/lightapp/kehu/cp;

    invoke-direct {v0, v1}, Lcom/waiqin365/compons/c/g;-><init>(Lcom/waiqin365/compons/c/l;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->M:Lcom/waiqin365/compons/c/g;

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->M:Lcom/waiqin365/compons/c/g;

    invoke-virtual {v0}, Lcom/waiqin365/compons/c/g;->c()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->M:Lcom/waiqin365/compons/c/g;

    const/16 v1, 0x2710

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/c/g;->a(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->M:Lcom/waiqin365/compons/c/g;

    invoke-virtual {v0, p0}, Lcom/waiqin365/compons/c/g;->a(Landroid/content/Context;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->M:Lcom/waiqin365/compons/c/g;

    invoke-virtual {v0}, Lcom/waiqin365/compons/c/g;->e()V

    return-void
.end method

.method private h()V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->M:Lcom/waiqin365/compons/c/g;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->M:Lcom/waiqin365/compons/c/g;

    invoke-virtual {v0}, Lcom/waiqin365/compons/c/g;->f()V

    :cond_0
    return-void
.end method

.method static synthetic h(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->g()V

    return-void
.end method

.method static synthetic i(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)Z
    .locals 1

    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->f()Z

    move-result v0

    return v0
.end method

.method static synthetic j(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)Lcom/waiqin365/lightapp/kehu/c/l;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->K:Lcom/waiqin365/lightapp/kehu/c/l;

    return-object v0
.end method

.method static synthetic k(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->h()V

    return-void
.end method

.method static synthetic l(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)Ljava/util/HashMap;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->F:Ljava/util/HashMap;

    return-object v0
.end method


# virtual methods
.method public a()V
    .locals 6

    const v4, 0x7f0c025e

    const/16 v3, 0x8

    const/4 v2, 0x1

    const v0, 0x7f0c0248

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/view/CustomerSelectHeadView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->f:Lcom/waiqin365/lightapp/kehu/view/CustomerSelectHeadView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->f:Lcom/waiqin365/lightapp/kehu/view/CustomerSelectHeadView;

    invoke-virtual {v0, p0}, Lcom/waiqin365/lightapp/kehu/view/CustomerSelectHeadView;->setBackListener(Lcom/waiqin365/lightapp/kehu/view/at;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->f:Lcom/waiqin365/lightapp/kehu/view/CustomerSelectHeadView;

    invoke-virtual {v0, p0}, Lcom/waiqin365/lightapp/kehu/view/CustomerSelectHeadView;->setHeadTabListener(Lcom/waiqin365/lightapp/kehu/view/au;)V

    const v0, 0x7f0c0249

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->g:Landroid/view/View;

    const v0, 0x7f0c0330

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->i:Landroid/widget/LinearLayout;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->i:Landroid/widget/LinearLayout;

    invoke-virtual {v0, p0}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0332

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->j:Landroid/widget/LinearLayout;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->j:Landroid/widget/LinearLayout;

    invoke-virtual {v0, p0}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0333

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->k:Landroid/widget/LinearLayout;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->k:Landroid/widget/LinearLayout;

    invoke-virtual {v0, p0}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0334

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->H:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->H:Landroid/widget/ImageView;

    const v1, 0x7f020418

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    const v0, 0x7f0c0331

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->h:Landroid/widget/TextView;

    const v0, 0x7f0c024c

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->l:Landroid/widget/LinearLayout;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->l:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->setVisibility(I)V

    const v0, 0x7f0c0253

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->m:Landroid/widget/RelativeLayout;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->m:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, p0}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c025d

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->n:Landroid/widget/LinearLayout;

    invoke-virtual {p0, v4}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->o:Landroid/widget/TextView;

    const v0, 0x7f0c0256

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->p:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    new-instance v0, Lcom/waiqin365/lightapp/kehu/b/ai;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->a:Ljava/util/ArrayList;

    invoke-direct {v0, p0, v1}, Lcom/waiqin365/lightapp/kehu/b/ai;-><init>(Landroid/content/Context;Ljava/util/List;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->q:Lcom/waiqin365/lightapp/kehu/b/ai;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->p:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->q:Lcom/waiqin365/lightapp/kehu/b/ai;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setAdapter(Landroid/widget/BaseAdapter;)V

    const v0, 0x7f0c0259

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->r:Landroid/widget/TextView;

    const v0, 0x7f0c0258

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->s:Landroid/widget/LinearLayout;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->s:Landroid/widget/LinearLayout;

    invoke-virtual {v0, p0}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c025b

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->u:Landroid/widget/TextView;

    const v0, 0x7f0c025a

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->t:Landroid/widget/LinearLayout;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->t:Landroid/widget/LinearLayout;

    invoke-virtual {v0, p0}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c00cb

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/NoNetView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->v:Lcom/waiqin365/lightapp/view/NoNetView;

    const v0, 0x7f0c025c

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->w:Landroid/widget/LinearLayout;

    invoke-virtual {p0, v4}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->x:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->q:Lcom/waiqin365/lightapp/kehu/b/ai;

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/kehu/b/ai;->b(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->s:Landroid/widget/LinearLayout;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->t:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->setVisibility(I)V

    const-string/jumbo v0, "1"

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->A:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    const-string/jumbo v0, "3"

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->A:Ljava/lang/String;

    :cond_0
    const-string/jumbo v0, "1"

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->A:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->f:Lcom/waiqin365/lightapp/kehu/view/CustomerSelectHeadView;

    const/4 v1, 0x3

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/CustomerSelectHeadView;->setSelectType(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->h:Landroid/widget/TextView;

    const v1, 0x7f08071c

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->r:Landroid/widget/TextView;

    const v1, 0x7f0800cf

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_0
    new-instance v0, Lcom/waiqin365/compons/view/c;

    const v1, 0x7f0806b1

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    const v1, 0x7f080511

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->getString(I)Ljava/lang/String;

    move-result-object v3

    sget v4, Lcom/waiqin365/compons/view/c;->c:I

    new-instance v5, Lcom/waiqin365/lightapp/kehu/ck;

    invoke-direct {v5, p0}, Lcom/waiqin365/lightapp/kehu/ck;-><init>(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)V

    move-object v1, p0

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->N:Lcom/waiqin365/compons/view/c;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->N:Lcom/waiqin365/compons/view/c;

    const v1, 0x7f080687

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/view/c;->c(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->N:Lcom/waiqin365/compons/view/c;

    const v1, 0x7f080769

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/view/c;->d(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->p:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    new-instance v1, Lcom/waiqin365/lightapp/kehu/cl;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/kehu/cl;-><init>(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->p:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    new-instance v1, Lcom/waiqin365/lightapp/kehu/cm;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/kehu/cm;-><init>(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setonRefreshListener(Lcom/waiqin365/lightapp/dailyreport/view/z;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->p:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    new-instance v1, Lcom/waiqin365/lightapp/kehu/cn;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/kehu/cn;-><init>(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setonHistoryListener(Lcom/waiqin365/lightapp/dailyreport/view/aa;)V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/waiqin365/base/login/mainview/a;->g(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->a(Ljava/lang/String;)V

    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->f:Lcom/waiqin365/lightapp/kehu/view/CustomerSelectHeadView;

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/kehu/view/CustomerSelectHeadView;->setSelectType(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->h:Landroid/widget/TextView;

    const v1, 0x7f080110

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->r:Landroid/widget/TextView;

    const v1, 0x7f0800cc

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0
.end method

.method public a(I)V
    .locals 3

    const/4 v2, 0x1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->w:Landroid/widget/LinearLayout;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    if-ne p1, v2, :cond_0

    const-string/jumbo v0, "3"

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->A:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->h:Landroid/widget/TextView;

    const v1, 0x7f080110

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->r:Landroid/widget/TextView;

    const v1, 0x7f0800cc

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->A:Ljava/lang/String;

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->a(Ljava/lang/String;)V

    :goto_0
    iput v2, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->C:I

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->c()V

    return-void

    :cond_0
    const-string/jumbo v0, "2"

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->A:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->h:Landroid/widget/TextView;

    const v1, 0x7f08010f

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->r:Landroid/widget/TextView;

    const v1, 0x7f0800cd

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->A:Ljava/lang/String;

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->a(Ljava/lang/String;)V

    goto :goto_0
.end method

.method public b()V
    .locals 0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->finish()V

    return-void
.end method

.method public back(Lcom/waiqin365/lightapp/kehu/b/am;)V
    .locals 5

    const v4, 0x7f040023

    const v3, 0x7f040020

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->c:Lcom/waiqin365/lightapp/kehu/b/cc;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/cc;->f:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_1

    if-eqz p1, :cond_0

    :try_start_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->c:Lcom/waiqin365/lightapp/kehu/b/cc;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/cc;->f:Ljava/lang/String;

    invoke-static {v0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;

    move-result-object v0

    new-instance v1, Landroid/content/Intent;

    invoke-direct {v1, p0, v0}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v0, "customerInfo"

    invoke-virtual {v1, v0, p1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    invoke-virtual {v0}, Landroid/content/Intent;->getExtras()Landroid/os/Bundle;

    move-result-object v0

    invoke-virtual {v1, v0}, Landroid/content/Intent;->putExtras(Landroid/os/Bundle;)Landroid/content/Intent;

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->startActivity(Landroid/content/Intent;)V

    const v0, 0x7f040022

    const v1, 0x7f040021

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->overridePendingTransition(II)V
    :try_end_0
    .catch Ljava/lang/ClassNotFoundException; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    return-void

    :catch_0
    move-exception v0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->finish()V

    invoke-virtual {p0, v3, v4}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->overridePendingTransition(II)V

    invoke-virtual {v0}, Ljava/lang/ClassNotFoundException;->printStackTrace()V

    goto :goto_0

    :cond_0
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->finish()V

    invoke-virtual {p0, v3, v4}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->overridePendingTransition(II)V

    goto :goto_0

    :cond_1
    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    const-string/jumbo v1, "CMCustomerInfo"

    invoke-virtual {v0, v1, p1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    new-instance v1, Lcom/waiqin365/lightapp/view/a/a;

    invoke-direct {v1}, Lcom/waiqin365/lightapp/view/a/a;-><init>()V

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->c:Lcom/waiqin365/lightapp/kehu/b/cc;

    iget-object v2, v2, Lcom/waiqin365/lightapp/kehu/b/cc;->g:Ljava/lang/String;

    iput-object v2, v1, Lcom/waiqin365/lightapp/view/a/a;->a:Ljava/lang/String;

    iput-object p1, v1, Lcom/waiqin365/lightapp/view/a/a;->b:Ljava/lang/Object;

    invoke-static {}, Lcom/waiqin365/lightapp/view/a/b;->a()Ljava/util/Observable;

    move-result-object v2

    invoke-virtual {v2, v1}, Ljava/util/Observable;->notifyObservers(Ljava/lang/Object;)V

    const/4 v1, -0x1

    invoke-virtual {p0, v1, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->setResult(ILandroid/content/Intent;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->finish()V

    invoke-virtual {p0, v3, v4}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->overridePendingTransition(II)V

    goto :goto_0
.end method

.method public c()V
    .locals 5

    const-string/jumbo v0, ""

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->showProgressDialog(Ljava/lang/String;)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->f()Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->E:Ljava/util/HashMap;

    const-string/jumbo v1, "approvaled"

    const-string/jumbo v2, "true"

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->E:Ljava/util/HashMap;

    const-string/jumbo v1, "page.currentPage"

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    iget v3, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->C:I

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v3, ""

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->E:Ljava/util/HashMap;

    const-string/jumbo v1, "tradeType"

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->A:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->B:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->E:Ljava/util/HashMap;

    const-string/jumbo v1, "queryPos"

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->B:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->E:Ljava/util/HashMap;

    const-string/jumbo v1, "shortcutKey"

    const-string/jumbo v2, "near"

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :goto_0
    invoke-static {p0}, Lcom/waiqin365/base/db/offlinedata/d;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/d;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->E:Ljava/util/HashMap;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/offlinedata/d;->a(Ljava/util/HashMap;)Ljava/util/ArrayList;

    move-result-object v0

    new-instance v1, Landroid/os/Message;

    invoke-direct {v1}, Landroid/os/Message;-><init>()V

    const/16 v2, 0x3f2

    iput v2, v1, Landroid/os/Message;->what:I

    iput-object v0, v1, Landroid/os/Message;->obj:Ljava/lang/Object;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->e:Landroid/os/Handler;

    invoke-virtual {v0, v1}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    :goto_1
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->E:Ljava/util/HashMap;

    const-string/jumbo v1, "shortcutKey"

    const-string/jumbo v2, "all"

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    goto :goto_0

    :cond_1
    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v2

    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->b:Ljava/util/HashMap;

    if-eqz v1, :cond_9

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->b:Ljava/util/HashMap;

    move-object v1, v0

    :goto_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->z:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_2

    const-string/jumbo v0, "condition.shortCutKey"

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->z:Ljava/lang/String;

    invoke-virtual {v1, v0, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->A:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_3

    const-string/jumbo v0, "condition.tradeType"

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->A:Ljava/lang/String;

    invoke-virtual {v1, v0, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_3
    const-string/jumbo v3, "condition.canViewAll"

    sget-boolean v0, Lcom/fiberhome/gaea/client/c/b;->v:Z

    if-eqz v0, :cond_7

    const-string/jumbo v0, "true"

    :goto_3
    invoke-virtual {v1, v3, v0}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v0, "1"

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->z:Ljava/lang/String;

    invoke-virtual {v0, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->B:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_4

    const-string/jumbo v0, "condition.queryPos"

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->B:Ljava/lang/String;

    invoke-virtual {v1, v0, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v0, "2"

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->J:Ljava/lang/String;

    invoke-virtual {v0, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_8

    const-string/jumbo v0, "condition.isNearCmViewAll"

    const-string/jumbo v3, "false"

    invoke-virtual {v1, v0, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_4
    :goto_4
    const-string/jumbo v0, "query.approval_status"

    invoke-virtual {v1, v0}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_5

    const-string/jumbo v0, "query.approval_status"

    invoke-virtual {v1, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/CharSequence;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_5

    const-string/jumbo v0, "condition.approvalStatus"

    const-string/jumbo v3, "query.approval_status"

    invoke-virtual {v1, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v3

    invoke-virtual {v1, v0, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v0, "query.approval_status"

    const-string/jumbo v3, ""

    invoke-virtual {v1, v0, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_5
    const-string/jumbo v0, "query.cooperate_status"

    invoke-virtual {v1, v0}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_6

    const-string/jumbo v0, "query.cooperate_status"

    invoke-virtual {v1, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/CharSequence;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_6

    const-string/jumbo v0, "condition.cooperateStatus"

    const-string/jumbo v3, "query.cooperate_status"

    invoke-virtual {v1, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v3

    invoke-virtual {v1, v0, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v0, "query.cooperate_status"

    const-string/jumbo v3, ""

    invoke-virtual {v1, v0, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_6
    const-string/jumbo v0, "page.currentPage"

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    iget v4, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->C:I

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string/jumbo v4, ""

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v0, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v0, "page.recPerPage"

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    iget v4, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->D:I

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string/jumbo v4, ""

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v0, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    new-instance v0, Lcom/waiqin365/lightapp/kehu/a/a/z;

    invoke-direct {v0, v2, v1}, Lcom/waiqin365/lightapp/kehu/a/a/z;-><init>(Ljava/lang/String;Ljava/util/HashMap;)V

    new-instance v1, Lcom/waiqin365/lightapp/kehu/a/b;

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->e:Landroid/os/Handler;

    invoke-direct {v1, v2, v0}, Lcom/waiqin365/lightapp/kehu/a/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/kehu/a/c;)V

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/kehu/a/b;->start()V

    goto/16 :goto_1

    :cond_7
    const-string/jumbo v0, "false"

    goto/16 :goto_3

    :cond_8
    const-string/jumbo v0, "condition.isNearCmViewAll"

    const-string/jumbo v3, "true"

    invoke-virtual {v1, v0, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v0, "condition.canViewAll"

    const-string/jumbo v3, "true"

    invoke-virtual {v1, v0, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    goto/16 :goto_4

    :cond_9
    move-object v1, v0

    goto/16 :goto_2
.end method

.method public d()V
    .locals 8

    const/4 v4, 0x0

    const-string/jumbo v0, "senior_visit_select_cm_smart_sort"

    const/4 v1, 0x1

    invoke-static {p0, v0, v1}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->I:Lcom/waiqin365/lightapp/view/hr;

    if-nez v0, :cond_0

    new-instance v0, Lcom/waiqin365/lightapp/view/hr;

    const v1, 0x7f0c0333

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    invoke-direct {v0, p0, v1}, Lcom/waiqin365/lightapp/view/hr;-><init>(Landroid/content/Context;Landroid/view/View;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->I:Lcom/waiqin365/lightapp/view/hr;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->I:Lcom/waiqin365/lightapp/view/hr;

    const v1, 0x7f0802cb

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/hr;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->I:Lcom/waiqin365/lightapp/view/hr;

    new-instance v1, Lcom/waiqin365/lightapp/kehu/co;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/kehu/co;-><init>(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/hr;->a(Landroid/widget/PopupWindow$OnDismissListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->I:Lcom/waiqin365/lightapp/view/hr;

    sget-object v1, Lcom/waiqin365/lightapp/view/ht;->b:Lcom/waiqin365/lightapp/view/ht;

    sget-object v2, Lcom/waiqin365/lightapp/view/hu;->a:Lcom/waiqin365/lightapp/view/hu;

    const/16 v3, 0xeb

    const/16 v7, 0xc

    move v5, v4

    move v6, v4

    invoke-virtual/range {v0 .. v7}, Lcom/waiqin365/lightapp/view/hr;->a(Lcom/waiqin365/lightapp/view/ht;Lcom/waiqin365/lightapp/view/hu;IIIII)V

    :cond_0
    return-void
.end method

.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 5

    const/16 v0, 0x12d

    const/4 v2, 0x0

    invoke-super {p0, p1, p2, p3}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onActivityResult(IILandroid/content/Intent;)V

    sparse-switch p2, :sswitch_data_0

    :cond_0
    :goto_0
    packed-switch p1, :pswitch_data_0

    :cond_1
    :goto_1
    return-void

    :sswitch_0
    if-ne p1, v0, :cond_0

    const-string/jumbo v0, "customerInfo"

    invoke-virtual {p3, v0}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/am;

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->back(Lcom/waiqin365/lightapp/kehu/b/am;)V

    goto :goto_0

    :sswitch_1
    const-string/jumbo v0, "CMCustomerInfo"

    invoke-virtual {p3, v0}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/am;

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->back(Lcom/waiqin365/lightapp/kehu/b/am;)V

    goto :goto_0

    :sswitch_2
    if-ne p1, v0, :cond_0

    const-string/jumbo v0, "customerInfo"

    invoke-virtual {p3, v0}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/am;

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->back(Lcom/waiqin365/lightapp/kehu/b/am;)V

    goto :goto_0

    :pswitch_0
    if-eqz p3, :cond_1

    const-string/jumbo v0, "cmId"

    invoke-virtual {p3, v0}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_1

    const-string/jumbo v0, "cmId"

    invoke-virtual {p3, v0}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    move v1, v2

    :goto_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->a:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v1, v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->a:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/b/am;->a:Ljava/lang/String;

    invoke-virtual {v4, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_2

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->back(Lcom/waiqin365/lightapp/kehu/b/am;)V

    goto :goto_1

    :cond_2
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_2

    :cond_3
    invoke-static {p0}, Lcom/waiqin365/base/db/offlinedata/d;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/d;

    move-result-object v0

    invoke-virtual {v0, v3}, Lcom/waiqin365/base/db/offlinedata/d;->c(Ljava/lang/String;)Lcom/waiqin365/lightapp/kehu/b/am;

    move-result-object v0

    const-string/jumbo v1, "2"

    iget-object v4, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->J:Ljava/lang/String;

    invoke-virtual {v1, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_5

    :goto_3
    sget-boolean v1, Lcom/fiberhome/gaea/client/c/b;->v:Z

    if-nez v1, :cond_4

    if-nez v2, :cond_4

    if-eqz v0, :cond_6

    :cond_4
    const-string/jumbo v0, ""

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->showProgressDialog(Ljava/lang/String;)V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Ljava/util/HashMap;

    invoke-direct {v1}, Ljava/util/HashMap;-><init>()V

    const-string/jumbo v2, "condition.ids"

    invoke-virtual {v1, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    new-instance v2, Lcom/waiqin365/lightapp/kehu/a/a/y;

    invoke-direct {v2, v0, v1}, Lcom/waiqin365/lightapp/kehu/a/a/y;-><init>(Ljava/lang/String;Ljava/util/HashMap;)V

    new-instance v0, Lcom/waiqin365/lightapp/kehu/a/b;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->e:Landroid/os/Handler;

    invoke-direct {v0, v1, v2}, Lcom/waiqin365/lightapp/kehu/a/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/kehu/a/c;)V

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/a/b;->start()V

    goto/16 :goto_1

    :cond_5
    const/4 v2, 0x1

    goto :goto_3

    :cond_6
    const v0, 0x7f0805a8

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {p0, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    goto/16 :goto_1

    :sswitch_data_0
    .sparse-switch
        -0x1 -> :sswitch_2
        0x64 -> :sswitch_1
        0x6f -> :sswitch_0
    .end sparse-switch

    :pswitch_data_0
    .packed-switch 0x89
        :pswitch_0
    .end packed-switch
.end method

.method public onClick(Landroid/view/View;)V
    .locals 6

    const/4 v5, 0x0

    const/16 v4, 0x8

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :goto_0
    return-void

    :sswitch_0
    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/waiqin365/lightapp/kehu/CMSearchingActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->F:Ljava/util/HashMap;

    const-string/jumbo v2, "tradeType"

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->A:Ljava/lang/String;

    invoke-virtual {v1, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v1, "intentHashMap"

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->E:Ljava/util/HashMap;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const-string/jumbo v1, "type"

    const-string/jumbo v2, "offlinecmselect"

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "isOnline"

    sget-boolean v2, Lcom/fiberhome/gaea/client/c/b;->v:Z

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    invoke-virtual {p0, v0, v5}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->startActivityForResult(Landroid/content/Intent;I)V

    const v0, 0x7f040022

    const v1, 0x7f040021

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->overridePendingTransition(II)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->w:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v4}, Landroid/widget/LinearLayout;->setVisibility(I)V

    goto :goto_0

    :sswitch_1
    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/waiqin365/lightapp/kehu/CMCustomerScanActy;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const/16 v1, 0x89

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->startActivityForResult(Landroid/content/Intent;I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->w:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v4}, Landroid/widget/LinearLayout;->setVisibility(I)V

    goto :goto_0

    :sswitch_2
    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/waiqin365/lightapp/kehu/CMCustomerSmartSortActy;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v1, "tradeType"

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->A:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "hasRouteSelect"

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->c:Lcom/waiqin365/lightapp/kehu/b/cc;

    iget-boolean v2, v2, Lcom/waiqin365/lightapp/kehu/b/cc;->l:Z

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    invoke-virtual {p0, v0, v5}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->startActivityForResult(Landroid/content/Intent;I)V

    goto :goto_0

    :sswitch_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->w:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v4}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->G:Ljava/util/HashMap;

    const-string/jumbo v1, "tradeType"

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->A:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/waiqin365/lightapp/kehu/CMAddCustomerActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v1, "jsonhashmap"

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->G:Ljava/util/HashMap;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const/16 v1, 0x12d

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->startActivityForResult(Landroid/content/Intent;I)V

    goto/16 :goto_0

    :sswitch_4
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->w:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v4}, Landroid/widget/LinearLayout;->setVisibility(I)V

    const/4 v0, 0x1

    iput v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->C:I

    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->g()V

    goto/16 :goto_0

    :sswitch_data_0
    .sparse-switch
        0x7f0c0258 -> :sswitch_3
        0x7f0c0330 -> :sswitch_0
        0x7f0c0332 -> :sswitch_1
        0x7f0c0333 -> :sswitch_2
        0x7f0c0c3d -> :sswitch_4
    .end sparse-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 3

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    const v0, 0x7f030057

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->setContentView(I)V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/waiqin365/base/login/mainview/a;->g(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->A:Ljava/lang/String;

    const-string/jumbo v0, "cm_nearby_online_v2"

    const-string/jumbo v1, ""

    invoke-static {p0, v0, v1}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->J:Ljava/lang/String;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "param"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/cc;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->c:Lcom/waiqin365/lightapp/kehu/b/cc;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->c:Lcom/waiqin365/lightapp/kehu/b/cc;

    if-nez v0, :cond_0

    new-instance v0, Lcom/waiqin365/lightapp/kehu/b/cc;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/kehu/b/cc;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->c:Lcom/waiqin365/lightapp/kehu/b/cc;

    :cond_0
    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->F:Ljava/util/HashMap;

    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->E:Ljava/util/HashMap;

    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->G:Ljava/util/HashMap;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->E:Ljava/util/HashMap;

    const-string/jumbo v1, "shortcutKey"

    const-string/jumbo v2, "all"

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v0, "1"

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->z:Ljava/lang/String;

    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->e()V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->a()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->v:Lcom/waiqin365/lightapp/view/NoNetView;

    iget-object v0, v0, Lcom/waiqin365/lightapp/view/NoNetView;->b:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->g()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->f()Z

    move-result v0

    if-eqz v0, :cond_1

    const/4 v0, 0x0

    const/4 v1, 0x1

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->K:Lcom/waiqin365/lightapp/kehu/c/l;

    invoke-static {p0, v0, v1, v2}, Lcom/waiqin365/lightapp/kehu/c/b;->a(Landroid/content/Context;ZZLcom/waiqin365/lightapp/kehu/c/l;)V

    :cond_1
    return-void
.end method

.method protected onResume()V
    .locals 2

    const/4 v1, 0x1

    invoke-super {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onResume()V

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->d:Z

    if-eqz v0, :cond_0

    iput v1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->C:I

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->c()V

    :goto_0
    return-void

    :cond_0
    iput-boolean v1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->d:Z

    goto :goto_0
.end method

.method public onWindowFocusChanged(Z)V
    .locals 0

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onWindowFocusChanged(Z)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->d()V

    return-void
.end method
